package com.heatingcharge.service.charge;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heatingcharge.dto.ChargePlanDTO;
import com.heatingcharge.entity.charge.ChargePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heatingcharge.param.ChargePlanParam;

/**
 * <p>
 * 收费计划 服务类
 * </p>
 *
 * @author devin.jiang
 * @since 2019-12-27
 */
public interface IChargePlanService extends IService<ChargePlan> {

    IPage<ChargePlanDTO> getChargePlans(Page page, ChargePlanParam chargePlanParam);

    boolean save(ChargePlanParam chargePlanParam);

    boolean update(ChargePlanParam chargePlanParam);
}
